package com.qxzn.app.page.robot;

import android.os.Bundle;
import android.view.View;
import android.widget.TextView;

import com.qxzn.app.page.R;
import com.qxzn.app.page.R2;

import com.qxzn.app.page.BaseActivity;
import com.qxzn.app.util.ActivityStack;

import butterknife.BindView;
import butterknife.OnClick;

public class AddRobotActivity5 extends BaseActivity {

    @BindView(R2.id.tv_message)
    TextView tvMessage;

    @Override
    protected int initLayout() {
        return R.layout.activity_add_robot5;
    }

    @Override
    protected void initView() {

    }

    @Override
    protected void iniTitleBar() {
        tv_title.setText("添加机器人");
    }

    @Override
    protected void initData(Bundle savedInstanceState) {
    }

    @OnClick({R2.id.tv_ignore, R2.id.tv_bind, R2.id.tv_contact_customer})
    public void onViewClicked(View view) {
        int i = view.getId();
        if (i == R.id.tv_ignore) {
            ActivityStack.finishAllWithoutActivity("com.qxzn.app.desktoprobot.MainActivity");
        } else if (i == R.id.tv_bind) {
            setResult(RESULT_OK);
            finish();
        } else if (i == R.id.tv_contact_customer) {
        }
    }
}
